import PCBD
import gptApi
datasets = PCBD.getAllproblems()
for item in datasets:
    if item[0]<10:continue
    print(item)
    comData = gptApi.use_Api(item[1])
    PCBD.addComplementaryProblem(comData['tags'],comData['content'],comData['solution'],comData['test_case'])